-- GENERATED SPELL FOR [Seeker Thompson] --


function spell0_14404(pUnit, Event) --@Hooked Net,n/a--
pUnit:FullCastSpellOnTarget(14030,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14404', 6500, 1)
end

function spell1_14404(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(15572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14404', 30345, 1)
end

function Sorts_14404(pUnit, Event)
local choix_sorts_14404 = math.random(0, 1)
if choix_sorts_14404 == 0 then
pUnit:RegisterEvent('spell0_14404', 1, 1)
end
if choix_sorts_14404 == 1 then
pUnit:RegisterEvent('spell1_14404', 1, 1)
end
end

function mob14404_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14404', math.random(1500, 3000), 1)
end

function mob14404_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14404_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14404_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14404, 1, 'mob14404_Action')
RegisterUnitEvent(14404, 2, 'mob14404_Leave')
RegisterUnitEvent(14404, 3, 'mob14404_Kill')
RegisterUnitEvent(14404, 4, 'mob14404_Die')
